package com.sl.mes.db.itf.mm;

import com.sl.mes.db.vo.MmMo;
import com.sl.mes.db.vo.MmPmo;
import com.sl.mes.db.vo.MmReqpickm;
import com.sl.mes.db.vo.MmReqpickmB;

import java.util.List;

public interface IMmReqpickm {
    //配料单的查询
    public MmReqpickm  findParentVoById(String creqpickmid);
    public List<MmReqpickmB> findChildrenVoById(String creqpickmid);

    //配料单的删除
    public int  deleteParentVoById(String creqpickmid);
    public int  deleteChildrenVoById(String creqpickmid);

    //配料单的添加
    public int  insertMmReqpickm(MmReqpickm mmReqpickm,List<MmReqpickmB> lstMmReqpickmB);

    //修改备料单
    public int updateMmReqpickm(MmReqpickm mmReqpickm);
    public int updateMmReqpickmB(List<MmReqpickmB> lstMmReqpickmB);


    //根据生产订单查询对应的物料信息
    public List<MmReqpickmB> selectMmReqpickmBByComid(String cmoid);

}
